home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: jazz@hal.com (Jason Zions)
-
- >I have seen a draft of the
- >proposed Fortran 77 binding and I do not particularly like it.
-
- You're looking at the wrong book; the Fortran 77 standard was approved by
- the IEEE Standards Board a while back; copies of the completed IEEE Std
- 1003.9-1992 have been available for a few months now. You probably still
- won't like it, though.
-
- > I had great hopes that a Fortran 90 one would be
- >a great deal better.
-
- So did everyone working on 1003.19.
-
- >The project that I work for is just beginning to get to grips with
- >Fortran 90 and it would certainly make the language more attractive if
- >there was a POSIX binding.
-
- Beat on your Fortran language vendor to provide you with one. This is the
- only way there will ever be sufficient existing practice to consider
- standardizing such a binding.
-
- > It would be most unfortunate if work on
- >a Fortran 90 binding were delayed to the extent that it affected the take
- >up of Fortran 90 as a language.
-
- Backwards. If '90 is never taken up as an effective language, never taken up
- to the degree that some vendor or vendors take the time to develop POSIX
- bindings, then development of a standard POSIX binding will be delayed,
- probably permanently. If that degree of uptake doesn't occur, then it's a
- good thing the POSIX machinery never wasted time and resources developing a
- binding no one wanted or used.
-
- >On the technical side, I would not assume that it will be possible to provide
- >a satisfactory Fortran to C interface on all platforms. An example (of dubious
- >relevance) is that if you call functions written in Microsoft C from routines
- >written in Microsoft Fortran, you cannot get hold of the length of a passed
- >length character argument.
-
- This is a language interoperability issue, which is not address by any IEEE
- standard. When vendors implement 1003.9, they need merely ensure the correct
- semantic things happen; they're not required to implement the F77 equivalent
- of open() by calling the C-language open(), they can use assembler magic and
- intimate knowledge of their compiler's generated code, etc. The issue of a
- function in one language calling a function in another language is a very
- difficult issue, ISO is busy inventing solutions over in JTC1 SC22 WG11
- (don't hold me to the WG number, it may be WG7).
-
- POSIX, when it's working right, doesn't invent.
-
- Jason Zions
- Chair, IEEE P1003.8 Transparent File Access
- Disclaimer: This is not an official statement of IEEE P1003.8, IEEE PASC
- (its sponsoring body), IEEE-CS, or IEEE.
-
-
- Volume-Number: Volume 31, Number 52
-
-